package com.tuyan.aixiang.activity.web;

import com.google.gson.Gson;

import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public class JsResult<T> {

    private int code = 0;

    private String msg;

    private T data;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
